﻿@using Ext.Net.MVC;
@using Ext.Net
@model SocialGame.Models.LogOnModel
@{
    Layout = null;
    this.Session["Ext.Net.Theme"] = Ext.Net.Theme.Gray;
}

<!DOCTYPE html>

<html>
<head>
    <title>Social Game Administrator</title>    
    <link rel="stylesheet" href="@Url.Content("~/resources/css/main.css")" />
	<script src="@Url.Content("resources/js/main.js")"></script>
</head>
<body>
    @Html.X().ResourceManager()
          @(
            Html.X().Window().ID("wLogin")
            .Title("Đăng nhập")
            .Width(300)
            .Height(180)
            .Layout(LayoutType.Fit)           
            .Border(true)
            .Icon(Icon.LockOpen)
            .Modal(true)
            .Closable(false)
            .Items(
                     Html.X().FormPanelFor(m => m).Layout(LayoutType.Form)
                    .BodyPadding(10)
                    .DefaultAnchor("100%")
                    .Width(300)
                    .Buttons(Html.X().Button()
                        .Text("Đăng nhập").Icon(Icon.Accept)
                        .DirectClickUrl(Url.Action("LogOn"))
                    )
          )
)

  
</body>
</html>
